package org.springframework.graphql.data.method.annotation.support;

import graphql.schema.GraphQLCodeRegistry;
import graphql.schema.idl.RuntimeWiring;
import graphql.schema.idl.WiringFactory;
import java.util.List;

/**
 * @author caspar
 * @date 2023/9/26 9:45 feature:
 * 1. disable {@link AnnotatedControllerConfigurer} auto config
 */
public class NullAnnotatedControllerConfigurer extends AnnotatedControllerConfigurer {
  @Override
  public void configure(RuntimeWiring.Builder runtimeWiringBuilder) {}

  @Override
  public void configure(GraphQLCodeRegistry.Builder codeRegistryBuilder) {}

  @Override
  public void configure(RuntimeWiring.Builder builder, List<WiringFactory> container) {}
}
